package com.itm.lqm.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.itm.lqm.entity.Art;
import com.itm.lqm.entity.Discuss;


public interface DiscussService {
	public List<Discuss> selectAllDiscusss();
	
	public boolean delectDiscussById(Integer id);
	public boolean addDiscuss(Discuss discuss);
	public Discuss selectDiscussById(@Param("p_id")Integer p_id);
	//public Discuss selectDiscussAndArtById(@Param("p_id")Integer p_id);
	public Discuss selectDiscussByIda(@Param("a_id")Integer a_id);
	
	/*public Discuss many(@Param("p_id")Integer p_id);
	public Art getArt(@Param("aid")Integer aid);*/
    public List<Discuss> manyList(@Param("did") List<Integer> did);
	
	
	public Art getArtList(@Param("aid") List<Integer> aid);
}
